// 基于template/src/views/{{appModules}}/{{pages@DEGRIDEXPVIEW}}/{{spinalCase page.codeName}}-model.ts.hbs生成
import { IGridExpViewModel } from "@/core/interface/view/model";

function getModel(): IGridExpViewModel {
  return {
    caption: "图书",
    title: "图书表格导航视图",
    capPSLanguageRes: "DE.LNAME.IBIZBOOK",
    titlePSLanguageRes: "PAGE.TITLE.IBIZBOOK.GRIDEXPVIEW",
    showDataInfoBar: true,
    codeName: 'IBIZBOOKGridExpView',
    uiEngineModel: [
                {
                    name: 'newdata',
                    triggerType: 'CUSTOM',
                    logicType: 'SYSUILOGIC',
                    eventNames: '',
                    scriptCode: ``,
                    logicName:``,
                    logicTag: '',
                    eventArg: '',
                    eventArg2: '',
                    timer: 0,
                    psViewCtrlName: '',
                    entityCodeName: '',
                },
                {
                    name: 'opendata',
                    triggerType: 'CUSTOM',
                    logicType: 'SYSUILOGIC',
                    eventNames: '',
                    scriptCode: ``,
                    logicName:``,
                    logicTag: '',
                    eventArg: '',
                    eventArg2: '',
                    timer: 0,
                    psViewCtrlName: '',
                    entityCodeName: '',
                }
        ],
    ctrls: [
        {
            name: 'gridexpbar',
            codeName: 'GridExpViewgridexpbar',
            controlType: 'GRIDEXPBAR',
        }
    ],
    ctrlParams: {
        IBIZBOOKgridexpbar: {},
    },
    cssName: "",
    name: "IBIZBOOKGridExpView",
    viewType: "DEGRIDEXPVIEW",
    viewStyle: "DEFAULT",
    showCaption: true,
    isLoadDefault: true,
    entityCodeName: "IBIZBOOK",
    keyPSAppDEField: "IBIZBOOKId",
    majorPSAppDEField: "IBIZBOOKName",
    enableQuickSearch: true,
    expandSearchForm:false,
    quickSearchPlaceholder: ['图书名称',].join(","),
    useDefaultLayout: true,
    sideBarLayout: 'LEFT',
		expBarName: 'GridExpViewgridexpbar',
		expBarWidth: 0,
		expBarHeight: 0
    }
}

//  视图模型
export const model = getModel();